#include "stdafx.h"
#include "Animal.h"
#include<iostream>
using namespace std;

//Animal
void Animal::say_hi() const
{
	cout<<"hi"<<endl;
}
void Animal::set_color(char* const c)
{
	color=c;
}
char* Animal::get_color() const
{
	return color;
}

//Cat
void Cat::say_hi() const
{
	cout<<"cat : hi"<<endl;
}




